Next | Prev | Up | Top | Contents | Index

Entry Point close()

A STREAMS driver (but not module) must export a pfxclose() entry point. The argument list for a STREAMS driver's close differs from that of a device driver. The prototype for a STREAMS pfxclose() entry point is:

int pfxclose(queue_t *q, int oflag, cred_t *crp);

The argument values are the same as passed to pfxopen(). The pfxclose() entry point is a public name. In addition a pointer to it must be defined in the qinit structure for the read queue.


Next | Prev | Up | Top | Contents | Index